module.exports = {
  async fetch() {
    let resp = await $http.get(`https://api.ooopn.com/image/beauty/api.php?type=json`)
    let data = resp.data
    return [
      {
        style: "gallery",
        thumb: data.imgurl,
        route: $route('@image', {
         url: data.imgurl
         })
        }]
  }
}
